/* eslint-disable */
import request from './request'
// get 请求数据
export function getAjax(url, params) {
  // console.log(url, params)
  return request.get(url, params == null ? {} : Object.assign({}, params))
}
// post 提交数据
export function postAjax(url, data) {
  return request.post(url, data == null ? {} : Object.assign({}, data))
}
